<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

?>

<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <form name="datos" action="procesar.php" method="POST">
            Nombre y apellido:
            <br>
            <input type="text"
                   name="nombreApellido"
                   value="<?php echo $_COOKIE['nombreCompleto'] ?>"
                   size="70" />

            <br>
            <br>
            Legajo:
            <br>
            <input type="text"
                   name="legajo"
                   value="<?php  echo $_COOKIE['legajo'] ?>"
                   size="10" />

            <br>
            <br>
            Sexo:
            <br>
            <select name="sexo" >
                <option value="F"
                        selected="<?php echo ($_COOKIE['sexo'] == "F") ? "true" : "false" ?>"
                        >Femenino</option>
                <option value="M"
                        selected="<?php echo ($_COOKIE['sexo'] == "M") ? "true" : "false" ?>"
                        >Masculino</option>
            </select>

            <br>
            <br>
            Edad:
            <br>
            <input type="text"
                   name="edad"
                   value="<?php  echo $_COOKIE['edad'] ?>"
                   size="2" />

            <br>
            <br>
            Palabra clave:
            <br>
            <input type="password"
                   name="contrasenia"
                   value="###nopassword###"
                   size="10" />

            <br>
            <br>
            <input type="submit" value="Aceptar" name="submit" />
        </form>
  </body>
</html>
